package com.demo.jwt.service;

import com.demo.jwt.form.UserForm;

public interface IUserService {

    /**
     * @param userForm {@link UserForm}
     * @return 返回token
     */
    String login(UserForm userForm);

    /**
     * 用户注册
     * @param userForm {@link UserForm}
     * @return 返回注册成功的token
     */
    String register(UserForm userForm);
}
